Skip to content

feat(ffi): Expose legacy SSO support infomation #5222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShadowRZ
Copy link

Currently Element X can't distinguish the cases where a homeserver only
supports legacy SSO without OIDC (and password login isn't avaliable),
and other server unreachable scenarios.

This patch exposes legacy SSO support infomation so that Element X side
can give a dedicated error message when it encounters a homeserver that
can only support legacy SSO.

  • Public API changes documented in changelogs (optional)

Signed-off-by: Yorusaka Miyabi 23130178+ShadowRZ@users.noreply.github.com

@ShadowRZ ShadowRZ requested a review from a team as a code owner June 12, 2025 07:38
@ShadowRZ ShadowRZ requested review from stefanceriu and removed request for a team June 12, 2025 07:38
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.82%. Comparing base (39cf8b3) to head (0b2e3e0).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5222      +/-   ##
==========================================
- Coverage   88.83%   88.82%   -0.02%     
==========================================
  Files         334      334              
  Lines       91072    91072              
  Branches    91072    91072              
==========================================
- Hits        80907    80896      -11     
- Misses       6349     6361      +12     
+ Partials     3816     3815       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rebase this to get the CI going? Also a changelog entry for the new method would be nice.

Sorry this fell through, people went on holidays.

@ShadowRZ ShadowRZ force-pushed the shadowrz/expose-sso-is-avaliable branch from 131c62e to 94cc313 Compare July 15, 2025 14:07
Currently Element X can't distinguish the cases where a homeserver only
supports legacy SSO without OIDC (and password login isn't avaliable),
and other server unreachable scenarios.

This patch exposes legacy SSO support infomation so that Element X side
can give a dedicated error message when it encounters a homeserver that
can only support legacy SSO.

Signed-off-by: Yorusaka Miyabi <23130178+ShadowRZ@users.noreply.github.com>
@ShadowRZ ShadowRZ force-pushed the shadowrz/expose-sso-is-avaliable branch from 94cc313 to 0b2e3e0 Compare July 17, 2025 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants